Phase 2: Intermediate • Module 4: Object & Array Manipulation
Implement a function that returns a new object after squashing the input object into a single level of depth