public function asArray() { return ['id' => $this->id, 'labels' => $this->labels, 'properties' => $this->properties]; }