$changed can work for 2 dimensional array

In reply to abhiverif1715:

You will have to show us what you tried. Works for me.