collection in to map_attributes