Javascript Push Object Into Array Of Objects Python Snake