Prevent memory leak by calling g_variant_dict_unref() and g_variant_unref()
g_variant_dict_unref()
g_variant_unref()