Allow for stripping pure whitespace text nodes; allow config in toJMLString method