How to Import Products/Modifiers from v2.98 to v4

I have a huge menu which took me weeks to complete in SambaPOS 2.98 and manually making my menu again is very time consuming, is there a way i.e script that can import my products and modifiers into v4.