improving Gemini textual output structure and formatting