1. A method of formatting rich text data into a JSON array, the method comprising: creating a parent JSON object within the JSON array; identifying header information defined as a field of the rich text data and representing the header information in a root property of the parent JSON object; identifying a plurality of parts of the rich text data and, for each of the plurality of parts of the rich text data: via a processor, identifying content of the part, inserting into the parent JSON object a first respective child JSON object, and representing the content of the part in a content property of the respective child JSON object; and identifying header information of the part and representing the header information in a header property of the respective first child JSON object; wherein the children JSON objects are organized into a JSON array within the parent JSON object; and outputting the JSON array in a JSON file.