Add entity id and type to link array passed to sitemap generator in order to make link alter hook more usable