convert dynamic python object to json,"json.dumps(c, default=lambda o: o.__dict__)"