transition to metadata.json