extract resource types from response types