Connect to nested host arrays

Let this work for nested arrays of hosts