Returns a pointer to the serialized form of a
The semantics of this function are exactly the same as
g_variant_get_data(), except that the returned
a reference to the variant data.
|The caller of the method takes ownership of the data, and is responsible for freeing it.|