Add temporal workaround for line serialization issue

[#75885072]