lb: improve formatting in lb_types.api