fix  deserializeValue overflow problem

deserializeValue ("5903509451651483504") return unexpected  5903509451651484000 because of overflowing of the integer
I add the condition that checks if overflowing occured to fix the function deserializeValue overflow problem.