Added json output for TaskStatus debug call.