Great Faraz,
Reason for not getting output in XML maybe due to "Response body is too large ". Is there any such message coming in response screen. Did you try calling in Response in browser in case of XML.
Json is more compact and less data is transferred.
Regards,
Tarun