cdb_next_item() now returns both key and value