support uploading of exercises in JSON format

Only course instructors are allowed to do this.