Create Array Using Loop Javascript Object Iterate Through Dictionary