結果 : how to access nested object in javascript dynamically