Editing classes to enable json.dumps

OMG, had a hell of time figuring this out json.dumps(obj, default=Class.your_custom_serializer)