I’ve a json response that has a json array. I am looping through this array to get all elements of the array and insert into room db. But only one item is inserted making the insert function to be called only once. But the loop actually loops through all elements.