Revert "do not load as xml if string is not xml"

This reverts commit 484742a9e781ef864965ddbb33abe9dccd7dc8e0.