結果 : looping through nested objects in javascript