Replace lib/converter with module `flat`