changed output stacktrace format to json