made some progress on the file upload json response