Allow type definition override on resource_fields. Helps with supplying more complete spec, e.g. enums.