Mongodb types

Companion to https://github.com/merk/Dough/pull/8