fetch()->map(fn ($term) => (object) [ 'id' => $term, 'text' => $term, ]); return LookupResource::collection($terms); } }