Refactor JSON tracer in EVM because it's slow
Investigation into #2076 shows that the JSON tracer in EVM is very slow.
Most of the time spent by stdlib/json, and the rest by `putc` when writing to stdout.
