I\'m getting a response in the data array and then there is another array which is containing objects but I only want a data array containing objects. This is my code. First