Normalize tags before adding them to db