flatten aws tags to be easier to match on