Filtering projects with multiple tags

Hello,

I can assign multiple tags for the project:

And my filters are now displayed like this:

What I want is NOT to display ‘Reconstruction’ after ‘Objects’ and a comma, but I want that ‘Reconstruction’ tag to appear in a separate ‘Reconstruction’ field.
As well as if my project has 2 tags I want to display that project behind tag#1 and behind tag#2, depending on which tag user clicks. (don’t need multiselect)

controller home.php:
image

template home.php:
image

home.json.php:

How should I approach this? Do I need to use something else instead of pluck(), or is there something more? Appreciate any help.

Nevermind, I got this.

Controller home.php:
image

Home.json.php:
image