Trivial mqtt var cleanup

I noticed a spurious node variable declaration while reading the MQTT In code so I removed it. Then I realized that this left the MQTT Out code rather inconsistent so I fixed that to reduce the scope of the variable and be more consistent.
-Mark