v.25.5Bug Fix (user-visible misbehavior in an official stable release)

Fix conversion between different JSON types

Fix conversion between different JSON types. Not it's performed by simple cast through convertion to/from String. It's less effective but 100% accurate. #78807 (Pavel Kruglov).