[deepak/mags] method to handle array of array in response