Issue #2154563 by chx, webchick: Migrate process plugin: flatten.