distinguishing between dicts and arrays