Claude API conversation history breaks after 2-3 messages - JSON escaping issue