docs: function _formatParameters(parameters) {
      let options = {},
          formatter, value;
      for (let prop in parameters) {
          if (parameters.hasOwnProperty(prop)) {
              if (parameters[prop].domain) {
                  let domain = getDomains()[parameters[prop].domain];
                  formatter = domain ? domain.format : undefined;
              } else {
                  formatter = undefined;
              }
              value = formatter && formatter.value ? formatter.value(parameters[prop].value) : parameters[prop].value;
              options[prop] = value;
          }
      }
      return options;
  }