Generalized TermMap to ExpressionMap