JSON parser should handle negative number

The JSON parse() method failed to parse the negative value -1.
Fixed issue and added unit tests around the case
Please use a boolean instead of the exception string to check if the code went in the catch clause.