Export Instance Data

Description / Overview

Export instance data in the following format (roughly)

{	
	
    "examTypes": [{
    	"pk": "UUID",
    	"moduleReference": "String",
    	"totalScore": 0,
    	"passScore": 0,
    	"passOnly": false
    }],
    "submissionTypes": [{
		"pk": "UUID",
		"name": "String",
		"fullScore": 0,
		"description": "Text",
		"solution": "Text",
		"programmingLanguage": "String"
    }],
    "students": [{
    	"name": "String",
    	"username": "String",
    	"user_pk": "UUID",
    	"exam": "ExamType PK",
    	"submissions": [{
    		"pk": "UUID",
    		"text": "Text",
    		"type": "SubmissionType PK",
    		"feedback": {
    			"score": 0,
    			"created": "DATE",
    			"is_final": false,
    			"feedback_lines": {
    				"3": [{
    					"pk": "UUID",
    					"text": "TEXT",
    					"created": "DATE",
    					"ofTutor": "String",
    					"visibleToStudent": false
    				}] 
    			}
    		}
    	}]
    }],
    "tutors": [{
    	//  use Tutorserializer
    }],
    "reviewers": [{
    	// use UserAccountSerializer
    }]
}

Use cases

(Who is this for?)

Links / references

Feature checklist

(Make sure these are completed before closing the issue, with a link to the relevant commit.)