I was successful at iterating a single object in the message_tags:

Code:
"message_tags": [
          {
            "id": "123456",
            "name": "Jon",
            "type": "user",
            "offset": 53,
            "length": 3
          }
        ]
but it failed when I attempted two. After a little tinkering I could iterate this but I'm unsure of how to write the conditional statement to iterate either.

Code:
  "message_tags": {
    "5": [
      {
        "id": "1234567",
        "name": "Alvin",
        "type": "user",
        "offset": 5,
        "length": 5
      }
    ],
    "15": [
      {
        "id": "12345678",
        "name": "Krista",
        "type": "user",
        "offset": 15,
        "length": 6
      }
    ]
  }
any help appreciated.