Run mongo shell commands from MongoDB Realm Functions

No unfortunately I couldn’t get this to work. Since I only needed the listCollections methods, I ended up hardcoding an array with all the object types in my database and looping through this instead.