'Converts a key and an array of values into AWS query param format.'

def _pathlist(self, key, arr):

    params = {}
    i = 0
    for value in arr:
        i += 1
        params[('%s.%s' % (key, i))] = value
    return params
