HH-44533 move json asserts and fix tests
Merge remote-tracking branch 'origin/HH-44533' into EXP-12974
release 2.21.22 [an.sumin@hh.ru]