Exported lottie JSON file is very big


i am starting my journey with Lottie. I have an animation on After Effects. It is created from 301 images of the MacBook. I compressed them by ImageOptim but still, my exported JSON file has 87MB.

How to make it smaller?
Is it normal that this file is so huge?

One way of getting around is to lazy load it. You could render it after page load.

Another way is: How To Optimize Lottie Files For Webflow / Cut Size By Half & Maintain a High Quality - YouTube

Hope those are helping!