MongoDB compatible with objects