Capturing JSON Object being returned