public function jsonSerialize() { return ['id' => $this->getId(), 'position' => $this->getPosition()]; }