working with XML response objects