Do not include nodes without any properties in flattened output