Derive support for the matrix-pickle crate.

Please take a look at the docs for the matrix-pickle crate to see how to use the derive support.