Fixed error in CustomScoreQueryBuilder ToJsonObject method