He did not give these details casually: it was in parallel so as to make clear to everyone the prophet's wisdom by comparison—hence his listing the nationalities of the wise men of Babylon so as to highlight the fact that whereas they understood absolutely nothing, he was illuminated by the divine Spirit.
Source: COMMENTARY ON DANIEL 4:7-8