added ITextLine adapter and exported serialize_to_dict function to allow working with serialized schema objects, not just the json serialized string of the object