added support for using collection/table name as resource_type instead of the class name