Support numbers in json.

Without this change it would fail:

TypeError: no implicit conversion of Fixnum into String
Merge pull request #6 from plu/master

Support numbers in json.