Fix bug with parser json of contour and set.