Issue #220 Add support for metadata.json