JSON formatter

Pretty-print or minify JSON, with the exact line and column of a syntax error.