Issue #2249723 by andrei.dincu: Transform stdClass into XmlSitemapInterface object in xmlsitemap.module