React InstantSearch - Enable hierarchical Tags filter

We have taxomy Type > Category > Sub-Category for each product.
We are planning to use named tags to store the data, below are our questions:

  1. we wanted to know in which format we should store the named tag against the product
  2. how we can then index in Algolia
  3. how we can build the hierarchical menu in React InstantSearch API