Converts placemark linestrings from a KML file to a json object (useful for creating lines in maps api)