Format messages for app interface