Attach response to thrown malformed JSON error.