FW/1 seems to be oriented to returning complete web pages what if JSON data is needed? A typical layout looks like:
As of FW/1 2.2, you can call:
variables.fw.renderData( "json", result );
in your controller and it will do what you want.