added json debug