var connection = ConnectionParams.fromTuples([
    'protocol',
    'http',
    'host',
    'localhost',
    'port',
    '8080',
    'cluster',
    'mycluster'
  ]);
// Returns {'protocol': 'http', 'host': 'localhost', 'port': '8080', 'cluster': 'mycluster'}