pub fn dump<W>(writer: W, value_arena: &ValueArena) -> Result<(), Error>where W: Write,
Dump to a writer.