How to decoding redis-stored data from rasa converation?

upd:

you can use this like:

d = pickle.loads(s)

print(d)

output:

Dialogue with name 'some_agent_id' and turns:
    	ActionExecuted(action: action_listen, policy: None, confidence: None)

    	SlotSet(key: time, value: 2019-06-18)

    	UserUttered(text: привет, intent: {'name': 'greet', 'confidence': 0.9450039863586426}, entities: [])

    	BotUttered(text: Привет!, data: {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, metadata: {})

	ActionExecuted(action: action_listen, policy: policy_0_MemoizationPolicy, confidence: 1.0)