`output` with JSON was expecting a JSON str, this patch change it to use the `data` argument, so a python object is given and converted to JSON
OUTPUT_MODEL
As Pydantic becomes more and more used in Libervia, it is now important to have a dedicated output in the CLI. This patch also fixes `json` and `json_raw` outputs which were incorrectly calling `console.print_json`. rel 473
rich
libervia.frontends.jp
libervia.cli