Convert featureType and elementType toLowerCase

Turns out elementType and featureType are case sensitive, where in the normal API this is not a problem.