Json Loop Through Array Python Memory