Adding the data structure to the entity creation in the mapper.