Catering for some missing values in JSON file