Fix JSON segmentation output.