small json code fix