Fixed JSON load to only happen once