fixed invalid json on fileupload and fileuploadall