finished kbb json logic