Python Create Json Array Python Memory