Here is an example using our original data which should work no matter how many items in the array
[{"id":"f6682c5c76791b5e","type":"inject","z":"5168fd6160a74481","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"0\":[\"Fan01_BoolP\",\"REAL \"],\"1\":[\" Fan01_Power\",\"REAL\",10],\"2\":[\"Fan01_Current \",\"REAL\",22],\"3\":[\" Fan01_Voltage\",\"REAL\",0],\"4\":[\" Fan01_Frequency\",\"REAL\",0]}","payloadType":"str","x":170,"y":160,"wires":[["fcd538f35c937d31","268a38eb57176a2b"]]},{"id":"fcd538f35c937d31","type":"debug","z":"5168fd6160a74481","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":440,"y":160,"wires":[]},{"id":"27ce6547c7f62584","type":"debug","z":"5168fd6160a74481","name":"debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":660,"y":240,"wires":[]},{"id":"268a38eb57176a2b","type":"json","z":"5168fd6160a74481","name":"","property":"payload","action":"","pretty":false,"x":290,"y":240,"wires":[["27ce6547c7f62584","50921e227f9a421b"]]},{"id":"50921e227f9a421b","type":"split","z":"5168fd6160a74481","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":270,"y":300,"wires":[["a67b1f2cf348d5db","c4a2149cced3e105"]]},{"id":"a67b1f2cf348d5db","type":"debug","z":"5168fd6160a74481","name":"debug 3","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":660,"y":300,"wires":[]},{"id":"2a2a6a0a2d4eabe7","type":"change","z":"5168fd6160a74481","name":"","rules":[{"t":"change","p":"payload[0]","pt":"msg","from":"Fan01_","fromt":"str","to":"","tot":"str"},{"t":"set","p":"topic","pt":"msg","to":"payload[0]","tot":"msg"},{"t":"set","p":"payload","pt":"msg","to":"payload[2]","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":280,"y":440,"wires":[["7e50cacea9ccaeb3","24863b2a47a1f6f1","089e4d9c1cd6e381"]]},{"id":"7e50cacea9ccaeb3","type":"debug","z":"5168fd6160a74481","name":"debug 4","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":660,"y":440,"wires":[]},{"id":"c4a2149cced3e105","type":"switch","z":"5168fd6160a74481","name":"","property":"payload[0]","propertyType":"msg","rules":[{"t":"neq","v":"Fan01_BoolP","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":270,"y":380,"wires":[["2a2a6a0a2d4eabe7"]]},{"id":"24863b2a47a1f6f1","type":"join","z":"5168fd6160a74481","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":390,"y":560,"wires":[["990af7ab478b6ee8"]]},{"id":"990af7ab478b6ee8","type":"debug","z":"5168fd6160a74481","name":"debug 5","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":680,"y":580,"wires":[]},{"id":"089e4d9c1cd6e381","type":"trigger","z":"5168fd6160a74481","name":"","op1":"1","op2":"0","op1type":"val","op2type":"val","duration":"250","extend":"false","overrideDelay":"false","units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":120,"y":500,"wires":[["60b17705c78c6fcb"]]},{"id":"60b17705c78c6fcb","type":"change","z":"5168fd6160a74481","name":"","rules":[{"t":"set","p":"complete","pt":"msg","to":"complete","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":130,"y":560,"wires":[["24863b2a47a1f6f1"]]}]