there is a marshaller instance per CacheManager. Might make sense to keep the serialisation context as in non-static field...