v4: implement meta/tags endpoint

As discussed online, we choose tags over categories if specified.

However, we need to filter legacy Categories instead.