(de)serialization for groups of voxels