we can still emit JSON::ParserErrors in compat mode