add (configurable) support for resource dumps