docs: function convertToObject(unknownTypedInput, valueFunc = undefined) {
      let obj = {};
      if (typeof unknownTypedInput !== 'undefined') {
          if (typeof unknownTypedInput === 'string') {
              unknownTypedInput = [unknownTypedInput];
          }
          if (_.isArray(unknownTypedInput)) {
              for (const element of unknownTypedInput) {
                  let value;
                  if (typeof valueFunc !== 'undefined') {
                      value = valueFunc(element);
                  }
                  else {
                      value = undefined;
                  }
                  obj[element] = value;
              }
          }
          else {
              obj = _.cloneDeep(unknownTypedInput);
          }
      }
      return obj;
  }