Working read_json() method