Pass json object when invoking exception handler.

Fixes bug 1154753.

Change-Id: I6ca7c758d42e8586c8adf2529ce5362108a57a56
Merge "Pass json object when invoking exception handler."