fix escape character in hash evaluator for rails