Maybe this recent q and answer helps
{%- assign product_tags = site.products | map: 'tags' %}
See more here