Sanely converts string values to their logical ruby equivilants