pprint json for tracejson and dump