docs: function replace_params(params) {
  	return function replace_params_(match, key) {
  		if(params && params.hasOwnProperty(key)) {
  			var value = params[key];
  			delete params[key];
  			return value;
  		}
  		return ':' + key;
  	};
  }