Add as_* methods for MsgPack