Tracer: don't assemble tracing strings when null tracer is used.
Building the JSON/debug strings is fairly expensive, so let's avoid doing that for every command if we are going to throw the result away immediately.
Building the JSON/debug strings is fairly expensive, so let's avoid doing that for every command if we are going to throw the result away immediately.