universal format parser for Leaflet & Mapbox.js