Support leading zeroes

The JSON specification states that numbers should not be prefixed with a 0 unless it is immediately followed by a period.  Currently the JSON encoder does not follow this requirement.  This pull requests adds a little logic to check for numbers beginning with zero, and then quotes those numbers, treating the value as a string.