fix for rapidjson update