import a patch to ignore invalid rawjson