Serialization/Deserialization explained with an example.