When the value from json is boolean the value doesn't match with field's value