Add support for XML and serialized responsed