MDL-63466 core_message: Added format_conversation_messages helper