Expose require("ast-types").getFieldValue(object, fieldName).

External code sometimes needs to know the effective value of a field,
taking default field values into account.