Added support for writing number as number instead of as string

Signed-off-by: Gabriel Boucher <gboucher@curelator.com>