First pass at iterating on a full bucket in CouchBase