def METHOD_NAME(self, node_data: dict):
    '''function to set data for exporting json'''
    curve_node_name = self._get_curve_node_name()
    data = get_rgb_curve(node_group_name, curve_node_name)
    data_json_str = json.dumps(data)
    node_data['curve_data'] = data_json_str