Fixed multiline JSON reading