toDashes helper