MongoDB Matryoshka wrapper