Change the underlying type of JSON integer from long to json_int_t