Added support for metadata.json