Excellent, that works very nicely. Thanks John James Jacoby!
Could something like this become part of the core? When you have the name of a member, it should be easy to add associated data. This function makes it a lot easier.
Edit: The function probably needs to be expanded a bit. I get these slashes (escapes?) in the output:
I’ll look into that when I have time…