write_collection_members function

Write a collection member JSON file