Right now I'm calling WriteObject(identities1, enumerateCollection:true) first and then WriteObject(identities2, enumerateCollection:true).
If identities1 and identities2 are the same type, the output looks okay. But if they are different types, the output for identities2 is blank.
What did I do wrong here?