def preprocess(self, params):
		for key, value in params.iteritems():
			if isinstance(value, (dict, list)):
				params[key] = json.dumps(value)

		return params
We need to replace the original thread.start_new_thread with this function so that threads started through
dataset/ETHPy150Open frappe/frappe/frappe/frappeclient.py/FrappeClient.preprocess--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/common/diagnostic/pydevDebug/pydevd.py/pydev_start_new_thread