all efforts to deduce problem exhausted, deem it to be something amiss with PopUpTemplate and recognising strings https://developers.arcgis.com/javascript/jshelp/intro_popuptemplate.html