If you ever want to validate a json file and you have not a json parser installed, you can always use python for the purpose: python -m json.tool < data.json
You can also use this approach to pretty print a mangled json file.