public function toArray($request): array 	{ 		$lang = $request->lang ?? DomainLanguages::getDefaultLanguage();  		return [ 			'id' => $this->getKey(), 			'puls_title' => $this->title, 			'survey_year' => $this->survey->year, 			'start_date' => $this->start_date ? formatTimestamp($this->start_date, 'Y-m-d H:i') : null, 			'end_date' => $this->end_date ? formatTimestamp($this->end_date, 'Y-m-d H:i') : null, 			'overall_grade' => $this->getStyledOverallGradeString(), 			'filters_demographic' => QuestionResource::collection($this->demographicQuestions), 			'departments' => DepartmentResource::collection($this->departments), 			'locations' => LocationResource::collection($this->locations), 			'filters_additional' => QuestionResource::collection($this->extraQuestions), 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}