implement displaying object type in object_details page