Added compute_item_hashes utility