Avoid byte order marks in JSON output (and other text formats).