public static void serializeIntField(JsonGenerator generator, FieldBase field, IntegerFieldValue value) {
        serializeInt(generator, field, value.getInteger());
    }
@author Steinar Knutsen
@author Vegard Sjonfjell
document/src/main/java/com/yahoo/document/json/JsonSerializationHelper.java