Revert "Updating XML processing to prevent XML bombs"

This reverts commit c1e91db3eab2a7708d7c82037bb4fdcb199d8e03.