Twilio service: Structured content utilities

parse-paragraphs-into-structure

Takes a JSONAPI response and rebuilds it into text.

Structured content lists are created as a single segment and converted to a bulleted list.

Paired markup items are created as individual segments.

Returns an array of segments.