Already implemented as AsFormattedString() in Common\Tracing\CloudTracingExtensions.cs