Bug 1056616 — Handle JSON.parse error on verifying the assertion.

https://bugzilla.mozilla.org/show_bug.cgi?id=1056616