public function to_json() { return parent::to_json() + array('sites' => $this->sites()->to_json()); }