Replaced all dictionary and array access by subscript notation (thanks you based regular expressions)