Iterate using Object.keys to avoid validating on nonexistent attributes.
Merge pull request #3 from alexmingoia/master

Iterate using Object.keys to avoid validating on nonexistent attributes.