Migrate to AbstractAdvancedFormatter and read formatting config