change hash literals to 1.9 syntax