Fix JSON output accents issue