Added code to convert text line item to object.