serialize dist_ref param for nightly