remove incorrect keys in KernelManager.get_connection_info