added examples to show how to use msgpack