build script for json, kinda fix #5