added code: heightmap to json