public static bool IsCollection(this MetadataPropertyType prop) => CollectionTypes.Contains(prop.Type) || IsArray(prop);