This can cause long file names (URLs) to be truncated which in turn will break named hooks code (since it needs to load those file names).
case 'nan':
    case 'undefined':
      
      
      cleaned.push(path);
      return {
        type,
      };
    default:
      return data;
  }
}
export function fillInPath(
  object: Object,
  data: DehydratedData,
  path: Array<string | number>,
  value: any,
) {
  const target = getInObject(object, path);
  if (target != null) {
    if (!target[meta.unserializable]) {
      delete target[meta.inspectable];
      delete target[meta.inspected];
      delete target[meta.name];
      delete target[meta.preview_long];
      delete target[meta.preview_short];
      delete target[meta.readonly];
      delete target[meta.size];
      delete target[meta.type];
    }