Fix printf type mismatch for new key formats