Adding script to generate json