Extension methods that add JSON serialisation to Trace values.
Trace
Serialises this trace to a JSON object with all trace fields.
A ujson.Value representing the full trace.
ujson.Value