move types field from XmiParser into HtmlGenerator