handle the integer when building the couched log doc