Escape closing curly braces for Android support.