@ikitommi thanks! this example is what I need.
I think declarative schema transformations is done now: https://github.com/metosin/malli/pull/283.