app.yaml: fix hook structure