notes-cache: convert to struct object_id