Encodes a number as JSON. Just converts it to a string.
String encodeNumber(num object) => '$object';