Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
root_run is the trace's root run.
Which properties are populated is controlled by selects in the request.
trace_aggregates carries trace-wide aggregate metrics.
Omitted when no aggregate field was selected, or null (then later filled) on
the streaming wire while the aggregate values are still being computed.