Not found error is now also returned as json.