Convert transactions and web to use transformer builder.

I've taken over Emanuel's work to enhance transformation tests for the web and transactions subsystems (in the PR #3940).

I've fixed the web subsystem but no the transactions one yet.

This PR is __not ready for review__ but it supersedes #3940 that can be closed.