How to Loop Through a JavaScript Object of Nested Objects | CodeTrail