Python Create Key Value Databases Using Mongodb