reverted small change from last checkin: do not buffer strings in serialization