Write Json Array Python Example