MongoDB persistence layer for Cantrip