Better code for deserializing strings into optional and non-optional ints using the <<< operator. Also wrote tests for it.