normalize different geojson forms into featurecollections
npm install @mapbox/geojson-normalize
Normalize any GeoJSON object into a GeoJSON FeatureCollection.
npm install --save geojson-normalize
normalize(object) -> featurecollection object