added support for xml and json in handle response