The behaviour of json.Marshal is to escape any HTML characters in a string, by using json.Encoder we are able to disable the escaping of these characters
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected
Description
The behaviour of json.Marshal is to escape any HTML characters in a string, by using json.Encoder we are able to disable the escaping of these characters
References
openfga/cli/issues/188
Review Checklist
main