LaTeXML introspection for TeX package dependencies and command sequence dictionaries