flat

Take a nested Javascript object and flatten it, or unflatten an object with delimited keys

union-value

Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.