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