report unicode replacement characters as invalid sequences.

They may have been introduced by json.Unmarshal and are a sign of invalid input encoding.
prettify error messages