Added serialization example