Map Object To Array Python Question