// parse into request object
raw = KvpUtils.normalize(raw);
KvpMap kvp = new KvpMap(raw);
KvpUtils.parse(kvp);
final GetMapRequest getMapRequest = (GetMapRequest) reader.read(
(GetMapRequest) reader.createRequest(), kvp, raw);
getMapRequest.setBaseUrl(RESTUtils.getBaseURL(request));
// delegate to wms reflector
final WebMap webMap = webMapService.reflect(getMapRequest);
//as per KMLMapOutputFormat.produceMap