mrp_resource_native: Add a function to return the opaque data