Fix for 1071: Output Formatters should be invoked for writing out the response

fixes #1071.