Python Create Json Array Javascript Append To Element