I've often had the need for something like <div params="{..json..}"></div>. Up until now you're left with the choice of on pageload attaching the JSON to some arbitrary property of the DOM object, or reading the attribute and eval'ing it.
"onxyz" attributes are interpreted automatically as JS, albeit they are automatically cast into a function. I'm hoping there's a similar way to define custom attributes and their types.