code: def annotate_json(self, text, annotators=None):
          
          # WARN(chaganty): I'd like to deprecate this function -- we
          # should just use annotate().json
          #properties = {
          #    'annotators': ','.join(annotators or self.default_annotators),
          #    'outputFormat': 'json',
          #}
          #return self._request(text, properties).json(strict=False)
  
          doc = self.annotate(text, annotators)
          return doc.json
docs: Return a JSON dict from the CoreNLP server, containing annotations of the text.
  
          :param (str) text: Text to annotate.
          :param (list[str]) annotators: a list of annotator names
  
          :return (dict): a dict of annotations