Implement parser for [] access and literal keys