Support metadata.json