Initializes packages JSON.