Set output format of Controller to 'json'
Basic uploading of a file, using the gaufrette LocalStream.