factorize the extraction of object internal type from it's representation
factorize the extraction of object internal type from it's representation

redhatrises/openscap,OpenSCAP/openscap,OpenSCAP/openscap,redhatrises/openscap,redhatrises/openscap,OpenSCAP/openscap,redhatrises/openscap,redhatrises/openscap,redhatrises/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap