Php Create Json Array Python Example