added msgpack support for serialization