creating collections.json file