public function toArray($request): array 	{ 		$lang = $request->lang ?? DomainLanguages::getDefaultLanguage();  		return [ 			'id' => $this->getKey(), 			'code' => $this->code, 			'category_id' => $this->category_id, 			'client_survey_id' => $this->client_survey_id, 			'title' => $this->getTranslation('title', $lang), 			'available_answers' => $this->getTranslation('available_answers', $lang), 			'description' => $this->getTranslation('description', $lang), 			'allowed_comments' => $this->allowed_comments, 			'ordering' => $this->ordering, 			'required' => $this->required, 			'type' => $this->type, 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}