_.toPlainObject(value)
Converts value to a plain object flattening inherited enumerable string keyed properties of value to own properties of the plain object.
Arguments
value (*): The value to convert.
Returns
(Object): Returns the converted plain object.