Fix serialization of proxy URL for KML layer