add api for av_dict_get/set