returning kml instead of map arrays