small json reading fix