Having first letter lowercase when saving objects

Hi, I’ve got this class where I want to save it’s content into algolia index, The problem is that Algolia created the object but the attributes start as lower case, is there a way to configure Algolia to save my object Attributes name the same way I’m sending them?

public class AlgoliaProducts
    {
        public string ObjectID { get; set; }
        public string StockCode { get; set; }
        public string ProductName { get; set; }
        public int? CategoryID { get; set; }
        public string Category1 { get; set; }
        public int? Cat2ID { get; set; }
        public string Category2 { get; set; }
        public int? Cat3ID { get; set; }
        public string Category3 { get; set; }
        public int? Cat4ID { get; set; }
        public string Category4 { get; set; }
        public string CAS { get; set; }
        public string ProductClass { get; set; }        
        public List<Sizes> Size { get; set; }
        public string FullSpecification { get; set; }
        public string PreferredSearch { get; set; }
        public string IsC2 { get; set; }
        public string LightSensitive { get; set; }
        public string Hazardous { get; set; }
        public string Hygroscopic { get; set; }
        public string Refrigerated { get; set; }
}

Thank you

To override the default behavior of the serializer, you can add a Newton annotation to the class or to the specific property:

// Class level
[JsonObject(NamingStrategyType = typeof(PascalCaseNamingStrategy))]
public class Foo { }

// Property level
[JsonProperty(PropertyName = "MySuperProperty")]
public string MyProperty {get; set;}