Support control characters in JSON output