More aggressive white-space removal.
Treat empty nodes again as primitives, but return an empty result set as an array, since that is what is contracted in the interface.