I have a json array object which is getting constructed using two different array objects. But after looping I m getting the value of the last looped value for every array. My c