changed the structure of the json file