Ugly Fix to share JSON between Leaflet and Angular