{
const props = geojson.features.map(d => d.properties);
const all = Object.keys(geojson.features[0].properties);
const interesting = ["highway", "name", "place", "type"];
const uninteresting = all.filter(d => !interesting.includes(d))
function removeProps(obj) {
uninteresting.forEach(d => delete obj[d])
}
props.forEach(removeProps)
return props[0]
}