externalise package.json content in a file