docs: @SuppressWarnings("unchecked")
    public SimpleOrderedMap<Object> create(ComponentGroup group, Boolean encode)
        throws IOException {
      SimpleOrderedMap<Object> mtasGroupResponse = new SimpleOrderedMap<>();
      mtasGroupResponse.add("key", group.key);
      MtasSolrMtasResult data = new MtasSolrMtasResult(group.dataCollector,
          new String[] { group.dataType }, new String[] { group.statsType },
          new SortedSet[] { group.statsItems }, new List[] { null },
          new String[] { group.sortType }, new String[] { group.sortDirection },
          new Integer[] { group.start }, new Integer[] { group.number }, null);
      if (encode) {
        mtasGroupResponse.add("_encoded_list", MtasSolrResultUtil.encode(data));
      } else {
        mtasGroupResponse.add("list", data);
        MtasSolrResultUtil.rewrite(mtasGroupResponse, searchComponent);
      }
      return mtasGroupResponse;
    }