Fix merge of output for multi-languages books