add automated Base64 encoding for byte arrays (compat layer_