 					done()
 				, (err) ->
 					tags = []
-					if 'tags' of fields
-						tags = fields['tags']
+					if fields['tags']
+						tags = Qs.parse(fields['tags'][0]).tags
+					entityModel.set 'tags', tags
+					if fields['authors']
+						entityModel.set 'authors', Qs.parse(fields['authors'][0]).authors
+					if fields['subjects']
+						entityModel.set 'subjects', Qs.parse(fields['subjects'][0]).subjects
+					entityModel.set 'name', fields['name']
+					entityModel.set 'identifier', fields['identifier']
 					fileModel.set 'size', fileField['size']
 					fileModel.set 'tags', tags
 					fileModel.set 'mediaType', fields['mediaType']

							if res2.status isnt 201
								ret = new Error(res.text)
								return next ret
							fileModel.save (err, saved) ->
								if err
									ret = new Error("Error saving file to database")
									ret.cause = err
									ret.status = 400
									return next ret
								res.status 201
								res.header 'Location', fileModel.uri()
								res.send '@link': fileModel.uri()

	done()

					in: 'formData'
				}
				{
					name: 'identifier'
					type: 'string'
					in: 'formData'
				}
				{
					name: 'subjects'
					type: 'array'
					items: { type: 'string' }
					in: 'formData'
				}
				{
					name: 'authors'
					type: 'array'
					items: { type: 'string' }
					in: 'formData'
				}
				{
					name: 'language'
					type: 'string'
					in: 'formData'
					enum: [
						'en'
						'de'
					]
				}
				{
					name: 'name'
					type: 'string'
					in: 'formData'
				}
				{
					name: 'tags'
					type: 'array'
					items: { type: 'string' }
					in: 'formData'
				}
				{
