optional transform which now triggers delta encoding.

pull request for #1