automatically convert objects to json before send the response
added a new index to default routes