MongoCollection collection = resolveCollection(collectionName, true);
return collection.getStats();
} else if (command.equalsIgnoreCase("validate")) {
String collectionName = query.get("validate").toString();
MongoCollection collection = resolveCollection(collectionName, true);
return collection.validate();
} else if (command.equalsIgnoreCase("findAndModify")) {
String collectionName = query.get(command).toString();
MongoCollection collection = resolveOrCreateCollection(collectionName);
return collection.findAndModify(query);
} else {