Encodes numeric strings as numbers.

When Json string is given, numeric values are given as string, instead it may be better to have them as numbers, which 
enables compatibility with javascript frameworks like Angularjs using Json objects.
Merge pull request #135 from raftalks/patch-1

Encodes numeric strings as numbers.