Add 'npm' command to baserock-import program
npm.to_lorry: Output valid JSON

Also, I cleaned up some trailing whitespace.
npm: Fix commandline parsing in importers