Imagine a scenario where I have JSON data structured like this (using JSON.stringify)
{ name: 'Bill', lastname: 'Smith'}
Now, I wish to transform the values by wrapping them with curly braces as shown below
{ name: { value: 'Bill' }, lastname: { value: 'Smith'} }
Does anyone have an approach in mind to accomplish this using JavaScript or lodash?