Remove gcc warnings (unused & shadow)
json pilotfile dump: stage 2