The easiest way to recolor animated icons is to use the Lottie Editor.
1. Go to https://lottiefiles.com/editor
2. Upload your JSON file. On the left side of the displayed editor, you will see a list of layers.
3. Select a layer and tweak its color by using the controls in the right panel. Repeat this step as needed.
4. When done, click the Export as Lottie JSON button to download the resulting file (see this demo).