Normalizing resource type