switch to new serialization mechanism