json coming on; leak in scan.c