support to_text as an alias for to_nt