* Fix support for JSON output when charset is set This fixes #41797 * Add specific exception to catch * Add Changelog fragment