in cstar/jobwriter.py [0:0]
def _state_to_dict(self):
skip = {"endpoint_mapping", "stop_after"}
data = dict((key, _to_dict(val)) for key, val in self.__dict__.items() if
not key.startswith('_') and key not in skip)
return data