refactor!: remove clientCtx.PrintObjectLegacy
#17259
Merged
clientCtx.PrintObjectLegacy
#17259