canonicalize: compare user ids as string rather than bytes