fix permission levels in MeshSerializer

make all functions and the class definition public