Serilog.Formatting.Json.JsonValueFormatter
Converts Serilog's structured property value format into JSON.
Construct a JsonFormatter.
Write a valid JSON string literal, escaping as necessary.
Format value as JSON to output.
Write a literal as a single JSON value, e.g. as a number or string. Override to
support more value types. Don't write arrays/structures through this method - the
active destructuring policies have already indicated the value should be scalar at
this point.