3+ depth is not permitted

{{#set:
    |@json={
    "foo": {
        "kind": {
               "kind": "bar"
           }
    }
}
}}