Fix JSON test assertion.