Region segmentation based on json data instead of geometry