Also put json.get in the json is not None check