json: remove callback from finalize. old code.