public IEnumerable <PropertyInfo> GetNestedSerializableProperties(Type type) => Reflector.GetAllPublicProperties(type) .Where(prop => IsNestedSerializableType(prop.PropertyType));