Given an object with nested objects, this function flattens the object by creating key paths for nested values.
This solution is correct and demonstrates a level of completeness. It solves the problem and takes a general approach of flattening the object.
Evaluated at: 2022-11-27 08:16:31