Fix Condition issue with using NewtonSoft