TypeError: Object.keys called on non-object
Merge pull request #2 from sergiusd/collection-fix

TypeError: Object.keys called on non-object