Pretty print json. 
From http://stackoverflow.com/questions/9105031/how-to-beautify-json-in-python-or-through-command-line