Add callback for user processing of json string and result of json scan.