to guard against XXE attacks as recommended in https://codeql.github.com/codeql-query-help/python/py-xxe/