You can also do so using the transform function of JSONata in a change node, which is pretty comparable in time to map ( Just for the haters, lol. I think JS is marginally faster by 1 millisecond).
expression
$$.payload~> |$.rows|{},["enable","updatedAt","companyId","company"]|
examples with time comparisions
[{"id":"2a36f7a1b6e292d0","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"time","v":"","vt":"date"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{ \"rows\":[ { \"id\":\"AAAA\", \"number\":38, \"numberInColumn\":11, \"numberTwo\":1, \"size\":\"P\", \"status\":\"AVAILABLE\", \"enable\":true, \"updatedAt\":\"2023-03-15T20:48:37.000Z\", \"companyId\":\"XXX\", \"company\":{ \"id\":\"XXXX\", \"name\":\"TEST\", \"type\":\"carrier\" } }, { \"id\":\"BBB\", \"number\":40, \"numberInColumn\":12, \"numberTwo\":2, \"size\":\"P\", \"status\":\"AVAILABLE\", \"enable\":true, \"updatedAt\":\"2023-03-15T20:48:37.000Z\", \"companyId\":\"XXX\", \"company\":{ \"id\":\"XXXX\", \"name\":\"TEST\", \"type\":\"carrier\" } } ] }","payloadType":"json","x":310,"y":6720,"wires":[["b238c57b0e98b8c9"]]},{"id":"b655094cd22e9012","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"time","v":"","vt":"date"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{ \"rows\":[ { \"id\":\"AAAA\", \"number\":38, \"numberInColumn\":11, \"numberTwo\":1, \"size\":\"P\", \"status\":\"AVAILABLE\", \"enable\":true, \"updatedAt\":\"2023-03-15T20:48:37.000Z\", \"companyId\":\"XXX\", \"company\":{ \"id\":\"XXXX\", \"name\":\"TEST\", \"type\":\"carrier\" } }, { \"id\":\"BBB\", \"number\":40, \"numberInColumn\":12, \"numberTwo\":2, \"size\":\"P\", \"status\":\"AVAILABLE\", \"enable\":true, \"updatedAt\":\"2023-03-15T20:48:37.000Z\", \"companyId\":\"XXX\", \"company\":{ \"id\":\"XXXX\", \"name\":\"TEST\", \"type\":\"carrier\" } } ] }","payloadType":"json","x":330,"y":6820,"wires":[["67211d097361febe"]]},{"id":"67211d097361febe","type":"function","z":"d1395164b4eec73e","name":"function 154","func":"msg.payload.rows = msg.payload.rows.map(e => {\n return {\n id: e.id,\n number: e.number,\n numberInColumn: e.numberInColumn,\n numberTwo: e.number,\n size: e.size,\n status: e.status\n }\n})\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":510,"y":6820,"wires":[["f1dc9963d0f7e4f6"]]},{"id":"f1dc9963d0f7e4f6","type":"debug","z":"d1395164b4eec73e","name":"debug 2477","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"$millis()-$$.time","statusType":"jsonata","x":690,"y":6780,"wires":[]},{"id":"b238c57b0e98b8c9","type":"change","z":"d1395164b4eec73e","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"$$.payload~> |$.rows|{},[\"enable\",\"updatedAt\",\"companyId\",\"company\"]|","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":6720,"wires":[["ea5edc65218d93a4"]]},{"id":"ea5edc65218d93a4","type":"debug","z":"d1395164b4eec73e","name":"debug 2475","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"$millis()-$$.time","statusType":"jsonata","x":670,"y":6700,"wires":[]}]