Johathan. The patch looks great. Only two issues with the ident of the code.
One @override was not idented properly. And one method parameter was on a new line instead of singleline. Just nitpicking.
Would love to have it documented on the wiki that we got this new transform DSL now.
And we should remember to add it to the release notes that setOutBody() is depreacted and replaced with transform()
And since setOutBody() is to be replaced with transform. Could we have a unit test that verifies a setOutBody() test that is done by transform render the same OUT body?