Map Object Array Javascript Push Method In Python