Update composer.json file.
Remove part of changes to dynamic sitemap controller that were not reflecting 8.x-3.x simple sitemap controller.
https://www.drupal.org/node/3263177