tests: add test for corrupted utf8 field to json.