Create a common way for dealing with 404/Resource not found errors.
Also, fix for an issue that isn't setting defalut values in healthchecks.