Fixed JSON loading