code: function pathify(path, pathParams) {
    var r;
  
    if (arguments.length < 3) {
      throw new Error('Handlebars Helper \'pathify\'' +
        ' needs 2 parameters');
    }
  
    if ((typeof path) !== 'string') {
      throw new TypeError('Handlebars Helper \'pathify\'' +
        'requires path to be a string');
    }
  
    if ((typeof pathParams) !== 'object') {
      throw new TypeError('Handlebars Helper \'pathify\'' +
        'requires pathParams to be an object');
    }
  
    if (Object.keys(pathParams).length > 0) {
      var re = new RegExp(/(?:\{+)(.*?(?=\}))(?:\}+)/g);
      var re2;
      var matches = [];
      var m = re.exec(path);
      var i;
  
      while (m) {
        matches.push(m[1]);
        m = re.exec(path);
      }
  
      for (i = 0; i < matches.length; i++) {
        var match = matches[i];
  
        re2 = new RegExp('(\\{+)' + match + '(?=\\})(\\}+)');
  
        if (typeof (pathParams[match]) !== 'undefined' && pathParams[match] !== null) {
          path = path.replace(re2, pathParams[match]);
        } else {
          path = path.replace(re2, '{' + match + ' PARAM GOES HERE}');
        }
      }
      return path;
    }
  
    r = new RegExp(/(?:\{+)(.*?(?=\}))(?:\}+)/g);
    return path.replace(r, '{$1 PARAM GOES HERE}');
  }
docs: replaces path params with obvious indicator for filling values
  (i.e. if any part of the path is surrounded in curly braces {})
  @param  {string} path  request path to be pathified
  @param  {object} pathParams contains path parameters to replace with
  @returns {string}          pathified string