Python Create Json Array Javascript Append W3schools