Modify resource_show function to use the package_show function defined within the plugin