Reworked the handler system once again. There's now two formatters, one for the request body and one for the response body. These are created via two abstract methods in the base implementation. The specialized handler implementations create those formatters and then generate appropriate outputs. I have created a decent sample implementation for JSON. The HTML one is still very much a joke. The assumption for JSON, though, is that the input is always a form of JSON object. This will have to be respected by the client at this point.