CONNECT-288 Simplify templates by running simple substitution pass first
CONNECT-314 Clone objects when passed to backend->update