resource_id is always a hash