Implement msgpack serializer - fixes #29