checking if primary/secondary changed from using mongodb to reading /etc/juicebox/juicebox.cfg