Parsing dictionary and arrays