fix: remove unncessary guards that require CSP privilege when removing event attributes (#15846)
fix: rewrite destructuring logic to handle iterators (#15813)