Write Json Array Python Definition