extract objects from response