FieldsMatch reports whether every name in wanted exists as a key in props.
If exact is true, the set must match exactly; otherwise wanted must be a
subset. Only key presence is evaluated.
Apply merges the overlay’s field-level overrides into the supplied
properties map (which must be the JSON-Schema "properties" object). The map
is modified in-place.