updated delete from json method to use map<string,object> instead of map<string,string>