pub fn project(
resource: &Value,
rt: &ResourceType,
attributes: &[AttrPath],
excluded: &[AttrPath],
) -> ValueExpand description
RFC 7644 §3.9: keep always attributes, drop never ones, then honour attributes
(only these plus the always set) or excludedAttributes.