Use peer list's helper function to write mutex-protected map.