def _dumps(obj):
 return json.dumps(obj, sort_keys=True, indent=4, separators=(',', ': '), cls=_ActionEncoder)

def _dumps ( obj ) : return json . dumps ( obj , sort_keys = True , indent = 4 , separators = ( ',' , ': ' ) , cls = _ActionEncoder )
json encode an object using some visually pleasing formatting .