Deleted Comment
A few years ago I tried to write my own exporter using AppleScript but got stuck by a showstopping bug in Notes AppleScript implementation. Or so it seemed. I hope that bug is fixed now. I just moved on to use your app instead.
I used AppleScript for the first two years of this app as well (Can't believe it's been 7 years since I started it). But it's hard to handle complex programs, and handing off data to Swift or Objective-C from AppleScript. So I switched to [ScriptingBridge](https://developer.apple.com/documentation/scriptingbridge). It provides better Objective-C APIs to handle Apple Events.
Also, why did you select JSON as the output format?
And then for one of my hobbies https://m.youtube.com/@idaemonplasmo for building better model kit aircrafts.
Not sure if they are masters of their craft, but they make their craft more accessible/enjoyable for me.