more updates to serialization and its implementations