"""Metadata assembly and export."""