Data object serialization functions. The externalizable<%> interface should not be used as is interferes with serialization for continuations.