Map fields = structureValue.getFieldValuesAsMutableMap();
for (Iterator i = fieldMap.entrySet().iterator(); i.hasNext();) {
Map.Entry entry = (Map.Entry) i.next();
String name = (String) entry.getKey();
InternalPolicyValue value = (InternalPolicyValue) entry.getValue();
fields.put(name, value == null ? null : value.createMetaDataValue());
}
return (ImmutableMetaDataValue) structureValue.createImmutable();
}