Add traceback and error message to json output

Ticket: 0
Reviewed By: teo
Testing Done: interactive