added _.isString check to recurseData for loop

The for loop was catching other non-string properties added to the array prototype (e.g. functions), causing exceptions to be thrown when trim() was called on them.