auto create elections.
added json method to election.