json.net 6.0.4 compatibility fix