Pyhton serializa o objeto

print(json.dumps(python_object, indent=4, sort_keys=True))
DreamCoder