unicode fix, soa fix, more work on dict2xml