Generate JSON from make contours-script