Fixing make_endpoint_group_dict to return to endpoint uuids not db refs