[metadata] add map<string,string> metadata