Use StringBuilder in PerlValue.getDetailedValue