No one has posted it yet but there is a way to get all active playable characters and not the playable ai units with the same names.
I will let the 'elite' people post it , im happy using it for myself. 
I just filtered through both sets of data to get all units with a client connected. But yeah, happy using it right now