Removed usage of `forEach` in order to make strToCamelCase backward comp...

...atible.