Class which you can extend to get all serialization/deserialization
done automagically.
Usage of this class is similar to KryoWritable but
unlike KryoWritable, this class does not
support recursive/nested objects to provide better
performance.
If the underlying stream is a kryo output stream than the read/write
happens with a kryo object that doesn't track references, providing
significantly better performance.