Turn a tagged union datum into a bare Python object or pass-through if not a tagged union datum.
anything
{"tag": value} collapsed to value if tag names one of the unionTypes; otherwise, pass-through