This is related the following question, but I thought I would create another post so that question would not become too convoluted:
When I changed the ResponseFormat to XML, the browser return the response correctly, but if I try to use JSON as the ResponseFormat, it asks me if I want to download the file. Just to see what is in the file, I downloaded it and it contains the response in plain text json format. Is there some configuration I am missing?