Fixed issues with metadata.json