Fixed JSON loading in component