sample cleanup of error.entitiesWithErrors -> error.entityErrors