copy onJson from Percolator.