Updating Collection generator to include metadata