add support for string body

Renders response body as long as it exists, this makes it work with any type of body instead of just Object.