Proper AST parsing for handling ({[]})-scopes