provider type to lowercase.