I came across this tool called http://codebeautify.org and I can say that is simply awesome. There was a requirement for me to convert XML to JSON and vice versa and came across this tool and I would say it just made my life simpler. Even you can play with nodes of JSON by adding, removing the nodes specific to your test or requirement. This is handy especially if you are trying to Mock objects or HTTP response in JSON format. Try it as it gives you more than just what you need for your programming.