def json_to_python(json_string):
 python_dict = json.loads(json_string)
 return python_dict

def json_to_python ( json_string ) : python_dict = json . loads ( json_string ) return python_dict
i receive error mails encoded as json .