collection->map(function ($breederData) { return $breederData->googleMapSerialize(); })->all(); } }