export run units to json file