PHP-1321: Handle cursor structure from mongod for listCollections.