Note the requirement for Infinispan 6.0 to achieve durability
Avoid rest-related errors and use previous marshalling package

A number of classes moved, but their behavior didn't change, so we can
safely use the older ones, i.e. those from the 'api' module.