Issue #2249723 by andrei.dincu: Transform stdClass  to XmlSitemapInterface  in xmlsitemap_sitemap_save