Use dipylonwriter to create dipydoc to be read by dipylonreader