Add canonical_ids hash to response