Fix for JSON use representation
Allow for selective filling of elements.

This is a stopgap solution for filling in a DOM tree selectively. It's not
perfect, but it's great for setting classes so far.