#SB-137: Implement artifact searches via REST with XML/JSON results
- Added a simple method to the ResourceCloser to further reduce boiler-plate code.