make file serialization in dictdoc work