fix base64 bug

if the value's type is byte[], xml should be <base64>xxx</base64>