v4: implement meta/tags endpoint

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