Basic map flattening and nesting functions.
Repace string munged key names with vectors of the nesting.  Wow !