generate json
discarded script
replace tab