Refactor s3 file read into separate file
Send JSON errors when "Accept:"able