(#3492) Fix some response-parsing bugs.