Make ternary test String instead of Hash