normalize EntityType name for api magic functions