Mesh: to/from dict. Untested