Add json responses to route not found errors