Formatter for JSON code block

I made a formatter for JSON so that JSON code blocks can be pretty-printed in-place: A "JSON: Format" command for Silverbullet · GitHub

The two files are actually named Library/drhayes/JSON and Library/drhayes/apis/json, but that's just how I organize my stuff. I made the json thing a top-level lua module in case I used those functions in other places and eventually came up with a safer parser and stringifier -- JSON.stringify has problems with circular references and JSON.parse is finicky, doesn't handle JSONL, etc.

If anyone has improvements let me know! I thought this was too small to publish as a Library, but I might pull in that lua formatter as well as the parse tree utilities that I can't seem to stop using for stuff.