Use %() to make quoting JSON simpler
Convert output string to JSON