[PATCH 05/16] conf: Move iothread formatter into a separate function