Trim whitespace
Add missing dependency and fix NPM naming
Fix collection import from file