pass the history back and deserialize it.