Try:
def inventory_Juniper_LSP(info):
if len(info) == 0:
yield None, None
else:
for line in info:
if line.beginswith(2):
name = "State"
...
yield name
and then you can use %s for your service description. Suggested your output looks something like this:
<<<your-check>>>
1 foo
2 bar
3 baz