Who is really the bad guy in the Wikileaks story?

US investigative journalist Michael Hastings tweets:

Thought experiment: if [Wikileaks’ Julian] Assange had exposed thousands of secret docs from China, Russia, Iran, North Korea, etc, would we consider him a hero or villain?