nodesToList: Coerce XML Nodes into a list with both attributes and values
Description
Essentially a recursive call to xmlToList.
Arguments
nodes
A collection of XML nodes. Should be the
output from docsToNodes. Value
A nested list with a structure that resembles the XML
structure