add typed pickle example in docs