improve list types derivation: use common element types
Revert "continue improving the AST, part 2"
cleanup textmapper AST, part n