complex to simple KML