Added tidy-json function to pretty print json.