private static IEnumerable <JsonProperty> AllProperties(this JsonElement obj) => obj.AllPropertiesWithParent().Select(pair => pair.property);