Push Key Value Into Array Javascript Join Method Python