add json output to analyze.py via the -j flag