Fix for the JSON component's ability to display a formatted JSON string (#11608)
* fix: Fix for the issue https://github.com/gradio-app/gradio/issues/11592 with the JSON component.
changes: Make `orjson` check if the value supplied to it is already a valid JSON string,
in which case, there is no further need to make it a string. This way, if a class as a `__str__` implementation,
which returns a valid JSON representation of some underlying data, it will be parsed correctly as
a `dict` or a `list` without double quoting the valid JSON as a string.
* fix: Forgot importing `warnings`!
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>