Adding support for JSON message on activity failure.

Adding support for JSON message on activity failure. This allows to exchange pass the error state (object) from activity to decider.