Updated generator result according to ruby 1.9 changed the hash format from {:id => "text" } to {id: "test"}