rewrite _extract_id_from_raw_xml using xml2json