Lexical_cast updated to use operator>> of printable objects.

Change-Id: I1cc09d26989372fb68787883d3ffe498b54a111f