Layout of metadata and output