public function jsonSerialize() { $data = $this->_dataWorker->getAllData(); $data->id = $this->getId(); return $data; }