Support array notation of text in text component

[#45242047]

e.g.
"text": [
        "#Heading 1#",
        "##Heading 2##",
        "###Heading 3####",
        "####Heading 4#####",
        "#####Heading 5######",
        "######Heading 6#######"
      ]