Ruby: Always check status codes in the JSON body, even if HTTP status is 200.