Apply a per-leaf transform to every scalar value of a config object (recursively).
The value (object, array or leaf).
The transform to apply to leaves.
The current dotted key path.
The transformed value.
Apply a per-leaf transform to every scalar value of a config object (recursively).