Python Check Json Array Index