[PATCH v3 04/15] conf: Move iothread formatter into a separate function