Compose output by answer block type.