workaround for dmd inability to reverse immutable strings