#13 Return errors when they arise on routes of json format.