serialization now it is configurable with adapters