sped up str-to-type conversions by sstream-based converter