def _to_dict(self):
    return {_PAYLOAD: self.payload, _TICKET: self.ticket, _WORKER_ID: self.worker_id}
def _to_dict(self):
    return {_PAYLOAD: self.payload, _TICKET: self.ticket, _WORKER_ID: self.worker_id}