migrate listeners to array of objects indexed by uuid