ZappRx Interview Question

Flatten a deeply nested object.