Bug 1062269 - Load JSON file with shared function in the WhiteList obj

Replace the code for loading a JSON file in the WhiteList object with the new shared function