tests: update expected errors to the new JSON parser engine