public function transform(User $user) { return ['user_id' => $user->user_id, 'username' => $user->username, 'country' => $user->country_acronym]; }