fn from_metadata(json: &Value) -> Result<HashMap<String, String>>
Parse a metadata definition from a JSON representation. The JSON can either be an Object or an Array of Objects.
metadata