json.dumps() returns a string, so the str() is unneeded