Fixed JSON not reading bug