Allow passing document nodes to gumbo.serialize