name_value: ptree-to-path-value: if non-leaf nodes have non-empty value, output it