add curly braces when printing JSON expressions