Convert KML data to JSON