merged staticFieldValues into fields
merged fieldsOptionRefs into fields