Implemented reading contours from JSON-files