print an abbreviated response body when non-json responses are encountered