Added implementations for Dictionary writer and reader, untested so far.