Serialization of CubeModel - saving.