Added JSON loading in Loader