java specific adapters are now invoked during serialization