Use its pointer name if a resource has no title property

e.g. If #/properties/recipe has no title property,
resource.title returns "Recipe".