code: def __parse_body(body):
      try:
          return json.loads(body)
      except Exception as e:
          return {}
  
file_path: kaggle-api/kaggle/cli.py
imports: from __future__ import print_function
  import argparse
  import json
  from kaggle import api
  from kaggle import KaggleApi
  from .rest import ApiException
  import six
label_desc: Use image node_id 2 for calling a global function with example usage: __parse_body(body) and returns: json, dict