Fixes issue with array's and objects