wms: better parsing of the query string