Fix the big int parsing exception by treating big int as string. 

The big integers (above 2^31-1) in the input data crashed the learning program.  This fix catches the exception then uses string instead of int to handle the input for the big integers.