Add to-string functionality for ws_value_union type
Fixup: Use ws_value_union_tostr() in func_log()