docs: function pathLanguage() {
    var pathlang = (arguments.length < 1) ? null : arguments[0];
    if (pathlang !== 'jsonpath' && pathlang !== 'xpath') {
      throw new Error(
          'pathLanguage takes a path language of xpath or jsonpath'
          );
    }
  
    return {"pathlang": pathlang};
  }