load settings from a json file, deep merge and deep diff