Update XMLWriter to add line indents for readability