Tweak processing of RP response JSON to ensure Json is returned, and is stored in UploadResult's message field if remote
result indicates a failure.