Fixed message metadata

Should be map[string]string not []map[string]string 
AddMetadata now accepts key-value pair instead of ...map[string]string