'The function for parsing the JSON response to the vars dictionary.'

def _parse(self):

    try:
        self.vars['status'] = self.json['status']
    except (KeyError, ValueError, TypeError):
        pass
    for v in ['remarks', 'notices']:
        try:
            self.vars[v] = self.summarize_notices(self.json[v])
        except (KeyError, ValueError, TypeError):
            pass
    try:
        self.vars['links'] = self.summarize_links(self.json['links'])
    except (KeyError, ValueError, TypeError):
        pass
    try:
        self.vars['events'] = self.summarize_events(self.json['events'])
    except (KeyError, ValueError, TypeError):
        pass
