read registry from json file;