Added stringify methods.
Added option for headless XML documents. (Breaking change)