Returning an array instead of a cursor in mongo.find method.