binary serialization of a universe