Rename Connection.to_json_dict to Connection.to_dict
#35894
Merged
Connection.to_json_dict to Connection.to_dict
#35894