added a service method for exporting metadata package