Instead of stripping away curly brackets at the end of the completion texts, simply insert a closing curly bracket after point when accepting a completion that ends with a curly bracket.