read an object from json file fix #3