More robust parameter loading for submasks and values_mapping attrs.