Introduce explicit UTF-8 conversion for retrieved text

A rare crash was encountered handling strings retrieved from the API
when left in ascii format. Added belt-and-braces
convert-everything-explicitly approach.