Clean up KML boolean handling.
Merge branch 'kml' into kml-open-proxy