Fixed JSON reading error