fixes #7756 - render not_found.json.rabl for API errors rather than expose too much internal information