Json Path To Array Javascript Iteration