nodes: 0, module; 1, function_definition; 2, function_name:json_dumps; 3, parameters; 4, block; 5, identifier:self; 6, identifier:data; 7, expression_statement; 8, return_statement; 9, comment:"""
          Standardized json.dumps function with separators and sorted keys set
  
          Args:
              data (dict or list): data to be dumped
  
          Returns:
              string: json
          """; 10, call; 11, attribute; 12, argument_list; 13, call; 14, identifier:encode; 15, string; 16, attribute; 17, argument_list; 18, string_content:utf8; 19, identifier:json; 20, identifier:dumps; 21, identifier:data; 22, keyword_argument; 23, keyword_argument; 24, keyword_argument; 25, keyword_argument; 26, identifier:separators; 27, tuple; 28, identifier:sort_keys; 29, True; 30, identifier:cls; 31, attribute; 32, identifier:ensure_ascii; 33, False; 34, string; 35, string; 36, identifier:self; 37, identifier:json_encoder; 38, string_content:,; 39, string_content::
code: def json_dumps(self, data):
          """
          Standardized json.dumps function with separators and sorted keys set
  
          Args:
              data (dict or list): data to be dumped
  
          Returns:
              string: json
          """
          return json.dumps(
              data, 
              separators=(',', ':'), 
              sort_keys=True, 
              cls=self.json_encoder, 
              ensure_ascii=False
          ).encode('utf8')