• Convert node serialization to a purely iterative algorithm.

    We maintain a stack of open element nodes and non-node elements and use it to determine when to close them.
    camlorn committed Jul 17, 2017