Fake MongoDB implementation