A former State Department employee was arrested and charged with spying on the U.S. for the Chinese government.