Include the rendered message in -fdiagnostics-as-json output
## Motivation
`-fdiagnostics-as-json` allows tools to work with GHC diagnostics semantically by providing diagnostics as a list of JSON records.
If a tool also wants to show diagnostics to the user, then the tool has to render the JSON record in a human friendly way.
Ideally, a tool might want to show the user diagnostics in the exact same way as how GHC would have produced them without `-fdiagnostics-as-json`.
However, it is non-trivial to reproduce the original diagnostics message from the JSON record.
Taking flags like `-fno-show-error-context` or `-fdiagnostics-color=always` into account further complicates things.
## Proposal
Add a `rendered` field to the JSON record that provides the diagnostics message in exactly the same way as how GHC would have produced it without `-fdiagnostics-as-json` (including ANSI escapes, if applicable).
Currently, the output of `-fdiagnostics-as-json` both
1. doesn't make it easy to reproduce the original GHC message
2. nor is it a perfect fit for automated processing (#26075, #26172)
Adding `rendered` addresses (1).
The rest of the JSON record then only needs to accommodate (2).
issue