normalize tags for tag search