fix default yaml params
implement deserialization polymorphism for dictdoc