ShyftLabs interview question

The best way to get nested object key values as a string