I love the inputsGroup! But I use it and like to further process the array properties. I noticed using this output data structure having an array of elements and additional properties is unusual and e.g. just iterating over the properties but not the array elements is not trivial
My impression is changing the output while maintaining backward-compatibility is a stretch. I thought of a new cell inputsGroup2 .. If I would fully understand your code I would suggest a function myself 😰🙄🧐- I thought a version where the output is just an object with the names without the Array element part if names are specified