Revert "convert xml rescoures to strings"

This reverts commit 692c07e4ba0982c846f8df60e959bb1af4ab7b3a.