Using msgpack, inspection, functools for ducktape decorator