docs: @Override
      protected SimpleConfigObject withOnlyPathOrNull(Path path) {
          String key = path.first();
          Path next = path.remainder();
          AbstractConfigValue v = value.get(key);
  
          if (next != null) {
              if (v != null && (v instanceof AbstractConfigObject)) {
                  v = ((AbstractConfigObject) v).withOnlyPathOrNull(next);
              } else {
                  // if the path has more elements but we don't have an object,
                  // then the rest of the path does not exist.
                  v = null;
              }
          }
  
          if (v == null) {
              return null;
          } else {
              return new SimpleConfigObject(origin(), Collections.singletonMap(key, v),
                      v.resolveStatus(), ignoresFallbacks);
          }
      }