Get ballots resource writing working.