JSON is very standard. YAML, a superset of JSON, is very readable. Got something that needs JSON, and want to write the input in YAML? Use yaml2json. Have JSON and want to view it in a more readable format? Use json2yaml.
Use with files or stdin/stdout. Pretty-print the JSON if you want.
Requires pyyaml (via pip or easy_install), aka the python-yaml Ubuntu package.
A version of these files is available at tinyurl/json2yaml and tinyurl.com/yaml2json for you to wget or curl -L