code: protected void addEnumList(String key, List<? extends Enum> list) {
          optionsMap.put(key, list.stream().map(i -> i.toString()).collect(Collectors.toList()));
      }
docs: Add a list of enums to the options map
  @param key The key for the options map (ex: "include[]")
  @param list A list of enums