The proto3 JSON of a generated message, allocated with context.allocator. Fails with
.BAD_VALUE for a value JSON can't express (a Timestamp out of range, a NaN in a Value) and
.UNKNOWN_TYPE for an Any whose type isn't in options.registry.
Signature
to_json :: (value: $T, options := Json_Options.{}) -> (string, Error)