Implemented visitIndexAssignment in ANTLRToAST to support ast generation
of index assignment messages.
Fixed issue in visitDict where values was visited twice for each entry.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>