Fix WMS GetCapabilities response handler.