set content-type as application/json for upload-aj response