@davidanthoff I am using @Tamas_Papp’s solution, thanks.
I still have an issue with using NamedTuple objects as described in this post though:
Basically, I am trying to have an outer constructor with NamedTuples that get converted into an inner constructor with dictionaries. My attempt failed.