The raw result of measurement is always gonna be string, because we want to avoid some floating point issues (overflows, consistent representation of numbers - whether they are coming from Java or Scala world, and more), but the actual type is stored alongside the computation because we don't want to lost this information.