Added a struct for JSON return when uploading a scan