serialization

Serialization and deserialization of data.