How to find the synonymous and nonsynonymous mutations?

Hi there,
After running the analysis, there are 2 files generated for mutations.

  1. aa_muts.json
  2. nt_muts.json

aa_muts contains all the strain specific mutations. To get the complete mutations for a mutation, I had to traverse through the whole tree.

However, I am a bit confused about how to separate synonymous and nonsynonymous mutations from these files. Can anyone tell me about this?