using json in callsites