Python Create Json Array Javascript Concat Not Working