XPath module serializes found node, so it will be easily transferred to JS