Adds JSON support to TexturedTriMesh