Metadata merging