refactor response for not-found details into its own view.