Make it possible to change db for Mongo documents