Handle formatting objects in list items better