code: public static Kryo addDefaultSerializers(Kryo kryo) {
          ArrayListSubListSerializer.addDefaultSerializer(kryo);
          AbstractListSubListSerializer.addDefaultSerializer(kryo);
          JavaUtilSubListSerializer.addDefaultSerializer(kryo);
          return kryo;
      }
docs: Adds appropriate sublist serializers as default serializers.