Print

import json
print json.dumps(result, indent=2)

Shell

Using json.tool from the shell to validate and pretty-print (from json - JSON encoder and decoder):

echo '{"json":"obj"}' | python -mjson.tool