For decades, the Dominican Republic carried a reputation it never wanted but struggled to shed.