Added serialization/de-serialization to examples.tuplespace