Fix JSON loading issue