treat arrays and hashes as lists