public function index(): JsonResource 	{ 		$restCountries = new RestCountriesHandler;  		$countries = collect($restCountries->all(['name', 'cca2']))->reduce(function ($carry, $item) { 			$carry[] = [ 				'name' => $item['name']['common'], 				'cca2' => $item['cca2'], 			];  			return $carry; 		}, []);  		$products = Product::select('name', 'id')->get()->reduce(function ($carry, $item) { 			$carry[] = [ 				'name' => $item->name, 				'id' => $item->id, 			];  			return $carry; 		}, []);  		$productIssues = ProductIssue::arrayWithValues(); 		$contactReasons = ContactReason::arrayWithValues();  		$resource = [ 			'countries' => $countries, 			'products' => $products, 			'product_issues' => $productIssues, 			'contact_reasons' => $contactReasons, 		];  		return new JsonResource($resource); 	}