adds saving of the tutorial results to a json file