Experimenting with serialization and marshalling