Improve GeoJSON feature name detection.

"Borrow" some code from ImageryLayerFeatureInfo to use a single for loop.