Add save/restore ngw custom metadata to the file