amending file upload response object