Assange _was_, in fact, charged under your Espionage Act, I'm afraid.
Your Constitution contains America's very specific legal definition of treason. Baking that into the Constitution was a very prudent move by your Founders who had seen their previous government make every form of dissent and whistleblowing into treason.