Default msgpack implementation doesn't work well.

Todo: redo this with a c++11 implementation.