Firebase.util.join

Playing with Firebase.util Join and Intersected 
Interesting. I would have put the primary flag on the contact object. Have you seen the this pattern used elsewhere?