Adding support for rendering datetime as json
Improving arbitrary response formatting of client