remove cruft from Tag objects