add custom block support in output_format config