JPM/HM: Make string results of xpath and xpathFirst a real 'str' instead of lxml's ElementStringResult