Adding XML responses support