update events example doc.
implement non-json types. needs tests.
remove unused import
fix most DictDocument & co woes