StringContract now converts numbers and booleans to string, instead of throwing exceptions.