code: function getParameterValue(parameter, context) {
  
    var path = parameter.path || parameter;
  
    var value = (path[0] === '.') ? JSPath.apply(path, context) : path;
  
    //console.log('****', path, context, value);
  
    // Use the default value when necessary
    if (_.isUndefined(value)) { value = parameter.default; }
  
    return value;
  }
docs: parameter: string || { path, default }