write a script to output format json