```ruby
module ChefZero
  module Endpoints
    class NotFoundEndpoint
      def call(request)
        return [404, {"Content-Type" => "application/json"}, "Object not found: #{request.env['REQUEST_PATH']}"]
      end
    end
  end
end
```

Return actual json in 404 (fixes issue with recent cehf bootstrap)
user
```ruby
require 'json'

module ChefZero
  module Endpoints
    class NotFoundEndpoint
      def call(request)
        return [404, {"Content-Type" => "application/json"}, JSON.pretty_generate({"error" => ["Object not found: #{request.env['REQUEST_PATH']}"]})]
      end
    end
  end
end
```
assistant