No, these are all JSON.  I just wanted to depend upon checking the response code rather than the code (which should really be the same) that is included in the message body (I wanted have to depend upon checking the body as little as possible).

But you are right, that would definitely look nicer - and we can probably count on the body being correct.