public function jsonSerialize() { return array_merge(parent::jsonSerialize(), ['problems' => $this->problems]); }