REST default response format


#1

Hi,

Does anybody know how to change the default response format of RESTful
controllers?
My controllers support both XML and JSON responses but I need JSON one
to be the default one.

Changing the order of the format.xx {} clauses does not seem to solve
the problem.

Regards,
Erik