Monolingual text value support bug fix

This should fix bugs caused by the new primitive datatype "monolingualtext" for wikidata statements.