The web service API returns responses in JSON format. This format can be changed on a per-call basis. To accomplish this we would need to implement the code to support the desired format like this code which implements the JSON format, add the new format to the array of supported formats and then indicate the format using the special reserved parameter format in the GET/POST call.
Next| Chapter 19: Frequently Asked Questions.