Basic serialization examples in place