Serialize non-well-formed documents too

Add a description of Serialize non-well-formed documents too