fix multi argument union case serialization