This entire exchange between Decker and Spock is ridiculous:
SPOCK: The machine inhabiters found it to be one of their own kind, primitive yet kindred. They discovered its simple twentieth-century programming. Collect all data possible.
DECKER: Learn all that is learnable. Return that information to its Creator.
SPOCK (OC): Precisely, Mister Decker, the machines interpreted it literally.
SPOCK: They built this entire vessel so that Voyager could fulfil it's programming.
^^^
Because in the 20th century (and still here in the 21st) - Computer programming DOESN'T WORK that way. You program each probe instrument with VERY SPECIFIC instructions. Also the Probe itself has NO WAY to analyze the data it's sending. It's sending it back to Earth so it CAN be analyzed.