Use _.forOwn to avoid issues iterating objects with `length` properties.

Use _.forOwn to avoid issues iterating objects with `length` properties. [closes #2]