changed return type from collection to list during find in mongo api