Let response.render() take any encodable type.

Render should take any Encodable, not just HashMap.