codegen: get rid of extra Ast.List boxings