command to merge catalogs and store in metadata. Closes #3