octree serialization