[feature] xmsg_serialize