deal with non-string response body (converted to some other object by middleware)