Don't append `.json` to the view filename if it's not being rendered.