code: protected <T> List<? extends List<T>> toArrayLists(List<List<T>> lists) {
          for (int i = 0; i < lists.size(); i++) {
              List<T> list = lists.get(i);
              lists.set(i, toArrayList(list));
          }
          return lists;
      }
docs: This is used to fix Kryo serialization issues with lists generated from methods such as
  {@link java.util.Arrays#asList(Object[])}