So i\'m trying to return some data from my API, it currently isn\'t returning in the way that I want it to, I want it to return as objects inside of an array but currently i