export voxels to file, mesh to json function, load voxels from json