changed output stacktrace format to json

should only read once on start