Issue #2249723 by andrei.dincu: Replace stdClass with XmlSitemapInterface in xmsitemap.module