code: function expandParamOptions(options) {
    if (!options) { return {}; }
  
      if (!Ember.isArray(options)) {
        options = [options];
      }
  
      let params = {};
      let option, i, key;
  
      for (i = 0; i < options.length; i++) {
        option = options[i];
        if (typeof option === "object") {
          for (key in option) {
            params[key] = option[key];
          }
        } else {
          params[option] = option;
        }
      }
  
      return params;
    }
docs: takes string, array of strings, object, or array of objects and strings and turns them into one object to map withParams/otherParams from context to modal  "foo"                   => { foo: "foo" } ["foo"]                 => { foo: "foo" } { foo: "bar" }          => { foo: "bar" } ["foo", { bar: "baz" }] => { foo: "foo", bar: "baz" }