#19 added support for formatting xml/json in request body as well.