GROOVY-6621 fix Node#text when value is NodeList

by accounting for non-String children elements