Iterate keys in a diferent way to work on node 0.8.22
Bump version to 1.0.1