Object must be returned. msg is object. Object can have properties. Mostly we use payload for transport the valuable info. This payload property can be any type. return msg.payload[0].V sends out number as V is probably number in your case.
You should use that V as msg.payload msg.payload = (manage the value of V here).
then return msg