changed importance-sampler for json