code: function(enm) {
      var titleMap = []; //canonical titleMap format is a list.
      enm.forEach(function(name) {
        titleMap.push({name: name, value: name});
      });
      return titleMap;
    }
docs: Creates an default titleMap list from an enum, i.e. a list of strings.