jsoninfo: ensure output is wrapped in curly braces.