My data is a rich text format, stored as nested JSON arrays. Text tokens store the plaintext of the string and annotations describing the formatting. I want to map the spec