added support for dicts in array notation