Check MQTT publish message Array or Hash.