As we know in Python 3 print() is a function, is it possible to create a decorated version of it wrapped under json.dumps(indent=4)
print()
json.dumps(indent=4)
for ex.
Alternatively, take a look at pprint. https://docs.python.org/3/library/pprint.html