FIX: text node emitters should always take strings as parameters even if they
return JsonML.