correct loading from json file and fix json.net reference