extract tag names instead of making 'tags' a list of tuples