Add ensure string helper for nodes.

Hopefully this will help with consistency.
-Mark.