Data Binding

Data Binding

I hope this is the right forum to post on. I'm looking for a way to bind data (json or xml) to elements on a web page. The stumbling block is that I want to be able to handle multiple hierarchies, such as header/details. For example, I'd like to be able to generate a page that looks something like this:

Name: MyStore
Address: 123 Main Street
Town: Anytown
      Customer: Tom
            Item: Lamp
            Item: Desk
            Item: Chair
      Customer Dick
            Item: Table
      Customer: Harry
      Customer: Sally
            Item: Vase
            Item: Lamp

using a template that just has slots for Name, Address, Town, Customer, and Item. I've tried the plugins databind, populate, and notemplate, but I haven't found a way to get any of them to work. Is this possible? If so, what's the best way to do it? Thank you!