xml dump: Read scope-type attribute in cppcheckdata.py module