Restores use of forEach iterating on non-array values. Fixes #345
travisplexer: pr-353-osx travis ci test