adapting to the format needed by agora_elections