Thanks for the feedback, the problem is that I dont have fixed output. if I had known that I am getting Person class then this apporach would work fine but in my case I dont have this knowledge. I might get a response that would have and ID and EMAIL but another result might return ID, LOCATION. Thanks Jay