json generator for grn-js