write sectioned-properties in terms of name-values