docs: public <C> CacheManagerBuilder<T> withSerializer(Class<C> clazz, Class<? extends Serializer<C>> serializer) {
      DefaultSerializationProviderConfiguration service = configBuilder.findServiceByClass(DefaultSerializationProviderConfiguration.class);
      if (service == null) {
        service = new DefaultSerializationProviderConfiguration();
        service.addSerializerFor(clazz, serializer);
        return new CacheManagerBuilder<>(this, configBuilder.addService(service));
      } else {
        DefaultSerializationProviderConfiguration newConfig = new DefaultSerializationProviderConfiguration(service);
        newConfig.addSerializerFor(clazz, serializer, true);
        return new CacheManagerBuilder<>(this, configBuilder.removeService(service).addService(newConfig));
      }
    }