don't recurse building the json version of the exception arguments

Change-Id: I72503e09ec5ee7e2339582ff72f30b577de34971
switch order of args to assertEqual()

Change-Id: I6c3fc5bc868a19994af5e443d7a6bec285c88666