[ExpressionLanguage] optimized serialization of nodes and expressions