It'd probably be easier to assemble the items the way you need them in Twig, and then JSON encode them. Try something like this:
確定! 回上一頁