Fixed JSON output format to be compatible with jquery-file-upload https://github.com/blueimp/jQuery-File-Upload/wiki/JSON-Response
Merge pull request #20 from olalonde/master

Fixed JSON compatibility issue