Fix JsonXContentGenerator to write comma after rawWrite if needed