John Bolton admits guilt to avoid jail