Basic support for MongoDB, coded by Jekkay Hu (@jekkay). Ticket #197