Is there a way to alter XML format output of REST controller, so that it outputs XML structure the way I want? Particularly I need to output in PLIST format (which is nothing else then XML).
REST controllers only auto-convert results if your REST method returns an array.
So if you create the XML yourself (PLIST is a rediculous format which is not supported by the Format class) and return it as a string, the REST controller will send that back as-is as a response.
I have already sub classed and created my own controller to output PLIST. PLIST may be rediculous format, but very widely supported in Cocoa (iOS and OS X). So if you are writing services for iOS apps, it comes in handy. Is just why I need it!