Document object-codec