read-cache: teach make_cache_entry to take object_id