Support numbers in json.

Without this change it would fail:

TypeError: no implicit conversion of Fixnum into String