I am wondering if transformFeatureInfo makes more sense on the layer or the source. But I think we can leave it on the layer for now.