code: function reconstructUrl(path,request) {
  
      //Append query string
      if (Object.keys(request.queryParams).length > 0) {
          var str = [];
          for (var p in request.queryParams) {
              if (request.queryParams.hasOwnProperty(p) && p != '') {
                  str.push(p + "=" + request.queryParams[p]);
              }
          }
          if ( str.length > 0 ){
              path += "?" + str.join("&");
          }
      }
  
      //Fix path parameters
      if (Object.keys(request.pathParams).length > 0) {
          for (var param in request.pathParams) {
              if (request.pathParams.hasOwnProperty(param)) {
                  var toReplace = "{" + param + "}";
                  path = path.replace(toReplace, request.pathParams[param]);
              }
          }
      }
  
      return path;
  }
docs: /*
  Generate a somewhat normal path