Replaces long references to ektron expressions with shortened version